<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>供应商业务量汇总表</title>
    <jsp:include page="../../head.jsp"/>
    <script type="text/javascript" src="<s:url value="/js/ajaxutil.js"/>"></script>
</head>
<script type="text/javascript">
    var formSetting = {
        title: "供应商业务量汇总表",
        module: 'query',
        numCount: '2',
        columns: [{
            index: "REGDATE",
            name: "regDate",
            type: "date",
            label: "统计时间起",
            op: "ge"
        }, {
            index: "REGDATE",
            name: "regDate",
            label: "统计时间止",
            type: "date",
            op: "le"
        }],
        buttons: {
            custom: []
        },
        grid: {
            id: "dataGrid",
            title: "查询结果",
            url: "report-findManagerBizReport2",
            colModel: [{
                index: "COM_NAME",
                name: "com_name",
                label: "公司名称"
            }, {
                index: "AMOUNT",
                name: "amount",
                label: "业务量"
            }, {
                index: "FUNDAMOUNT",
                name: "fundAmount",
                label: "成交额"
            }],
            sortname: "",
            rowNum: 100,
            jsonReader: {
//                root: "customerBizReports"
            }
        }
    };
    $(document).ready(function () {
        $("#dataTable").mrdForm(formSetting);
    });
</script>
<body>
<div id="dataTable"></div>
</body>
</html>
